package com.cqw.commontest.designmodetest.abstractfactory;

/**
 * @Author: caoqingwen
 * @CreateTime: 2021-09-30 10:38
 * @Description:
 */
public class Dog implements AbstractFactory {


    @Override
    public String eat() {
        return "小狗吃东西";
    }

    @Override
    public String drink() {
        return "小狗喝水";
    }
}
